import { createRouter, createWebHistory } from 'vue-router'
// import MyPage from '@/views/MyPage.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      children: [
        {
          path: '/myPage',
          name: 'myPage',
          component: () => import('@/views/MyPage.vue')
        }
      ],
      redirect: '/welcome',
    },
  ]
})

export default router
